package com.qfedu.lc.user.listener;

import com.qfedu.lc.common.config.RabbitKeyConfig;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

@Component
public class SmsRabbitListener {




    @RabbitListener(queues = RabbitKeyConfig.Q_SENDSMS)
    public void smsListener(Object msg){

        System.out.println("msg = " + msg);
    }

}
